<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/8/6
 * Time: 19:54
 */
namespace App\Http\Controllers\Api;

//use App\Models\User;
//use App\Http\Resources\User as UserCollection;
use Illuminate\Support\Facades\Input;
class IndexController extends ApiController
{
    public function index(){

        return $this->message('请求成功');
    }

//    public function index(){
//
//        return UserCollection::collection(User::paginate(Input::get('limit') ?: 20));
//
//    }
}